<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WillAgentEdit.aspx.cs" Inherits="admin_Agent_WillAgentEdit" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>编辑代理信息</title>
    <link rel="stylesheet" href="../skin/style.css" type="text/css" />

    <script type="text/javascript" src="../../JS/Common.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="itemtitle">
            <h3>
                操作提示</h3>
        </div>
        <div class="itemtitle_tect">
            <ul>
                <li>通过用户管理，您可以进行编辑会员资料、用户组、权限、积分、授权会员勋章以及删除会员等操作；</li>
                <li>请先根据条件搜索用户，然后选择相应的操作。</li>
            </ul>
        </div>
        <div class="clr">
        </div>
        <div class="talbe_border">
            <asp:HiddenField ID="txtProvince" runat="server"></asp:HiddenField>
            <asp:HiddenField ID="txtCity" runat="server"></asp:HiddenField>
            <asp:HiddenField ID="txtCounty" runat="server"></asp:HiddenField>
            <div id="table_more" class="maie">
                <table cellspacing="0" cellpadding="0" width="100%" border="0" class="talbe_list">
                    <tr>
                        <th colspan="2" class="header tou">
                            编辑招商信息</th>
                    </tr>
                    <tr>
                        <td width="16%" class="left1">
                            代理加盟名称
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt0">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            代理加盟所属类目
                        </td>
                        <td class="left2">
                            <asp:ListBox ID="lstParentType" runat="server" AutoPostBack="True" DataSourceID="sdsBindParentType"
                                DataTextField="Name" DataValueField="ID" Height="140px" OnSelectedIndexChanged="lstParentType_SelectedIndexChanged"
                                Width="132px"></asp:ListBox><asp:ListBox ID="lstSonType" runat="server" Height="140px"
                                    Width="132px"></asp:ListBox><asp:SqlDataSource ID="sdsBindParentType" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:sqlData %>" SelectCommand="SELECT * FROM [W_AgentType] WHERE ([ParentID] = @ParentID)">
                                        <SelectParameters>
                                            <asp:Parameter DefaultValue="0" Name="ParentID" Type="Int32" />
                                        </SelectParameters>
                                    </asp:SqlDataSource>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            信息标题
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt1">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            信息有效期
                        </td>
                        <td class="left2">
                            <asp:RadioButtonList ID="radlValidity" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="10">10天</asp:ListItem>
                                <asp:ListItem Value="20">20天</asp:ListItem>
                                <asp:ListItem Value="30">1个月</asp:ListItem>
                                <asp:ListItem Value="90">3个月</asp:ListItem>
                                <asp:ListItem Value="180" Selected="True">6个月</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            产品数量
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtCount" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt2">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            包装说明
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtInvestment" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt3">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            价格说明
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtPrice" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt4">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            产品规格
                        </td>
                        <td class="left2">
                            <span>
                                <asp:TextBox ID="txtStandard" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt5">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            详细说明
                        </td>
                        <td class="left2">
                            <FCKeditorV2:FCKeditor ID="Detail" runat="server" BasePath="~/Control/fckeditor/"
                                ToolbarSet="Basic" Height="400" Width="640">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                    <tr>
                        <td class="left1">
                            上传图片
                        </td>
                        <td>
                            <div style="float: left">
                                <asp:HiddenField ID="HiddUserID" runat="server" />
                                <asp:HiddenField ID="ImgUrl1" runat="server" />
                                <a href="" id="txturldz" target="_blank">
                                    <img border="0" src="../../../Images/System/wutu.gif" id="ImgUrl" alt="" runat="server"
                                        style="width: 106px; height: 95px" /></a><br />
                                <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                                <div id="rowTest" style="display: none">
                                    <iframe name="tag" src="../UpFile/Upload.html" style="width: 550px; height: 130px"
                                        frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                                    </iframe>
                                </div>
                                <div id="Upload">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" bgcolor="#fefbf7">
                            <asp:Button ID="btnSave" runat="server" Text="确定" OnClick="btnSave_Click" CssClass="i_button" />
                            <asp:Button ID="btnBack" runat="server" Text="取消" OnClick="btnBack_Click" CssClass="i_button" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript" src="../js/WillAgent.js"></script>

</body>
</html>
